<?
$do_not_validate = 0; //take this out when live
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta property="og:title" content="<?= FACEBOOK_APP_NAME ?>" />
    <meta property="og:description" content="<?= FACEBOOK_APP_DESCRIPTION ?>" />
    <meta property="og:type" content="book" />
    <meta property="og:url" content="<?= FACEBOOK_CANVAS_URL ?>" />
    <meta property="og:site_name" content="Weekend" />
    <meta property="fb:app_id" content="<?= FACEBOOK_APP_ID ?>" />
    <meta property="fb:admins" content="677487661"/>

    <link href="includes/css/general_style.css" rel="stylesheet" type="text/css">

    <link href="includes/css/jquery-ui-1.8.11.custom.css" rel="stylesheet" type="text/css" >
    <title><?= FACEBOOK_APP_NAME ?></title>
    <script type="text/javascript" src="includes/js/jquery-1.6.min.js"></script>
    <script type="text/javascript" src="includes/js/goAjax.js"></script>
    <script type="text/javascript" src="includes/js/common_javascript.js"></script>
    <script type="text/javascript" src="includes/js/jquery-ui-1.8.11.custom.min.js"></script>



</head>
<body>

    <?
    if (SANDBOX_MODE == 0) {
        ?>
        <div id="fb-root"></div>

        <script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>

        <script type="text/javascript">
            function increaseIframeSize(w,h){
                  
                var obj =   new Object;
                obj.width=w;
                obj.height=h;
                FB.Canvas.setSize(obj);
            }
                
            FB.init({
                appId  : '<?= FACEBOOK_APP_ID ?>',
                status : true, // check login status
                cookie : true, // enable cookies to allow the server to access the session
                xfbml  : true,  // parse XFBML
                oauth  : true // enable OAuth 2.0
            });
            	
            FB.Canvas.scrollTo(0,0);
            increaseIframeSize(1200,1000);
        </script>

    <? } ?>
    <? include_once 'includes/javascript.php'; ?>        
    <div id="divMsg"></div>
<center>


    <table style="background:url(images/background.jpg) no-repeat" width="800" height="915"  border="0" cellpadding="0" cellspacing="0" >
        <tr>

            <td width="144" height="136"  valign="top" align="right">
                <table cellpadding="5">
                    <tr valign="middle">
                        <td align="left"><font style="font-weight:bold">Share :</font>
            </td>
            <td align="right">
                <a onclick="streamPublishApp('','', '<?= FACEBOOK_APP_NAME ?>', '<?= TRACK_URL ?>', '')" onmouseover="this.style.cursor='pointer'"><img src="images/icons/icon_fb.png" align="left" border="0"></a>
            </td>
        </tr>
    </table>
</td>
</tr>
<Tr>
    <Td>
        <table align="center" cellpadding="10">
            <td>How To Join</td><Td><a href="photo_add.php">Submit Photo</a></td>
            <Td><a href="gallery.php">Gallery</a></td>
            <Td><a href="potd.php">Photo of the day</a></td>
            <Td>Prizes</td>
        </table>
    </Td>
</tr>
<tr>

    <td width="100%" height="589" valign="top" style="padding-left:30px;padding-right:30px" >
